/*
  Copyright � 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  ThanhNam ERP Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsSytemStatusBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsSytemStatusBL 
    {
    	#region Private Variables
		cmsSytemStatusDAL objcmsSytemStatusDAL;
		#endregion
		
        #region Public Constructors
        public cmsSytemStatusBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsSytemStatusDAL=new cmsSytemStatusDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsSytemStatusDO objcmsSytemStatusDO)
        {
            return objcmsSytemStatusDAL.Insert(objcmsSytemStatusDO);
        }

        public int Update(cmsSytemStatusDO objcmsSytemStatusDO)
        {
             return objcmsSytemStatusDAL.Update(objcmsSytemStatusDO);

        }

        public int Delete(cmsSytemStatusDO objcmsSytemStatusDO)
        {
             return objcmsSytemStatusDAL.Delete(objcmsSytemStatusDO);

        }

         public int DeleteAll()
        {
             return objcmsSytemStatusDAL.DeleteAll();
        }

        public cmsSytemStatusDO Select(cmsSytemStatusDO objcmsSytemStatusDO)
        {
            return objcmsSytemStatusDAL.Select(objcmsSytemStatusDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsSytemStatusDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsSytemStatusDAL.SelectAll();
        }
        public DataTable SelectByType(string type)
        {
            return objcmsSytemStatusDAL.SelectByType(type);
        }

     
#endregion          
    
    }

}
